#!/usr/bin/zsh

print_info(){
	echo -e "\033[32m $1 \033[0m"
}

print_error(){
	echo -e "\033[31m $1 \033[0m"
}



install_ohmyzsh(){
	print_info "installing ohmyzsh"
	
	ret=`git`
	if [[ ret != 0 ]]
	then 
		sudo apt install -y git
	fi 
	wget https://gitee.com/gentlecp/ohmyzsh/raw/master/tools/install.sh && sh install.sh
}

install_ohmyzsh
